package edu.bw.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Account {
    /**
     * 账号id
     */
    private Integer id;

    /**
     * 账户名
     */
    private String name;

    /**
     * 余额
     */
    private Double price;

    public Account(String name, Double price) {
        this.name = name;
        this.price = price;
    }
}
